import { BasicColumn } from '/@/components/Table/src/types/table';

export function getMultipleHeaderColumns(): BasicColumn[] {
  return [
    {
      title: '装置名称',
      dataIndex: 'name',
      width: 200,
    },
    {
      title: '主要负责人',
      children: [
        {
          title: '任务次数',
          dataIndex: 'mainTaskSum',
          width: 120,
        },
        {
          title: '待排查次数',
          dataIndex: 'mainWaitCount',
          width: 120,
        },
        {
          title: '超期次数',
          dataIndex: 'mainDueCount',
          width: 120,
        },
      ],
    },
    {
      title: '技术负责人',
      children: [
        {
          title: '任务次数',
          dataIndex: 'technologyTaskSum',
          width: 120,
        },
        {
          title: '待排查次数',
          dataIndex: 'technologyWaitCount',
          width: 120,
        },
        {
          title: '超期次数',
          dataIndex: 'technologyDueCount',
          width: 120,
        },
      ],
    },
    {
      title: '操作负责人',
      children: [
        {
          title: '任务次数',
          dataIndex: 'operateTaskSum',
          width: 120,
        },
        {
          title: '待排查次数',
          dataIndex: 'operateWaitCount',
          width: 120,
        },
        {
          title: '超期次数',
          dataIndex: 'operateDueCount',
          width: 120,
        },
      ],
    },
  ];
}

